package com.xoomworks.rsfr.core.service;

import java.util.List;

import com.xoomworks.rsfr.model.Requirement;

/**
 * RequirementService service interface.
 *
 * @author bogdan.sbiera
 */
public interface RequirementService extends BaseService<Requirement> {

    /**
     * Returns a list of Requirements created a user.
     *
     * @return a List of Requirements belonging to a company or an empty list if
     *         there is no company with the companyId
     */
    public List<Requirement> getRequirementsByUserId();

    /**
     * Returns a list of Requirements belonging to a company.
     *
     * @return a List of Requirements belonging to a company or an empty list if
     *         there is no company with the companyId
     */
    public List<Requirement> getAllRequirementsFromOwnCompany();
}
